<?php
namespace Particle\Apps;

/* HOME URL & APPS URL */
define('HOME_URL', 'http://127.0.0.1/ParticleFramework/');
define('BASE_URL_APPS', HOME_URL . APPS_FOLDER . '/');
define('APP_PATH', ROOT . APPS_FOLDER . DS);
define('ADDONS_PATH', APP_PATH . 'addons' . DS);
define('LIBS_PATH', APP_PATH . 'libs' . DS);
define('CORE_PATH', ROOT . FRAMEWORK_FOLDER . DS);
define('MAPPING_PATH', APP_PATH . 'router'. DS .'default.xml');
define('SETTINGS_DIR_SRC', HOME_URL . APPS_FOLDER . 'constants/');
define('SETTINGS_DIR_INC', APP_PATH . 'constants'. DS);
define('DEFAULT_CONTROLLER', 'index'); // FALSE // index
define('DEFAULT_LAYOUT', 'default');

/* ROUTING */
define('DEFAULT_ROUTING', TRUE);
define('MAPPING_ROUTING', TRUE);
define('STRICT_ROUTING', FALSE);

/* CACHE AND OUTPUT BUFFER */
define('CACHE', FALSE);
define('TIME_CACHE',30);
define('LIMIT_MB_CACHE', 1);
define('DEBUG_MODE', TRUE);
define('OUTPUT_CONTROL', FALSE);

/* SESSION */
define('SESSION_TIME', 10);

/* TIME ZONE */
define('TIMEZONE', 'America/Montevideo'); // see http://www.php.net/manual/en/timezones.php
date_default_timezone_set(TIMEZONE);

/* DOCTYPE AND CHARSET */
define('CHARSET', 'UTF-8'); // ISO-8859-1
define('DOCTYPE','HTML5');  // XHTML / HTML401 / 